package com.ruoyi.request.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 牵线申请对象 tb_matchmaking_request
 * 
 * @author ruoyi
 * @date 2025-07-31
 */
public class TbMatchmakingRequest extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 申请ID */
    private Long requestId;

    /** 申请用户ID */
    @Excel(name = "申请用户ID")
    private Long userId;

    /** 目标用户ID */
    @Excel(name = "目标用户ID")
    private Long targetUserId;

    /** 红娘ID（为空表示系统分配） */
    @Excel(name = "红娘ID", readConverterExp = "为=空表示系统分配")
    private Long matchmakerId;

    /** 申请留言 */
    @Excel(name = "申请留言")
    private String requestMessage;

    /** 申请状态：0-待处理，1-已接受，2-已拒绝，3-已完成，4-已取消 */
    @Excel(name = "申请状态：0-待处理，1-已接受，2-已拒绝，3-已完成，4-已取消")
    private Integer requestStatus;

    /** 拒绝原因 */
    @Excel(name = "拒绝原因")
    private String rejectReason;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createdAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updatedAt;

    public void setRequestId(Long requestId) 
    {
        this.requestId = requestId;
    }

    public Long getRequestId() 
    {
        return requestId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setTargetUserId(Long targetUserId) 
    {
        this.targetUserId = targetUserId;
    }

    public Long getTargetUserId() 
    {
        return targetUserId;
    }

    public void setMatchmakerId(Long matchmakerId) 
    {
        this.matchmakerId = matchmakerId;
    }

    public Long getMatchmakerId() 
    {
        return matchmakerId;
    }

    public void setRequestMessage(String requestMessage) 
    {
        this.requestMessage = requestMessage;
    }

    public String getRequestMessage() 
    {
        return requestMessage;
    }

    public void setRequestStatus(Integer requestStatus) 
    {
        this.requestStatus = requestStatus;
    }

    public Integer getRequestStatus() 
    {
        return requestStatus;
    }

    public void setRejectReason(String rejectReason) 
    {
        this.rejectReason = rejectReason;
    }

    public String getRejectReason() 
    {
        return rejectReason;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("requestId", getRequestId())
            .append("userId", getUserId())
            .append("targetUserId", getTargetUserId())
            .append("matchmakerId", getMatchmakerId())
            .append("requestMessage", getRequestMessage())
            .append("requestStatus", getRequestStatus())
            .append("rejectReason", getRejectReason())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
